package com.updateUser.service;

import com.updateUser.payload.RestResult;
import com.updateUser.payload.UpdateUser;
import com.updateUser.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author jobob
 * @since 2021-09-06
 */
public interface IUserService extends IService<User> {
    List<User> getAllUser();
    RestResult updateUserById(UpdateUser updateUser);
    RestResult addUser(User user);
    RestResult delUser(Long id);
}
